package org.particlethink.response;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

public class MasterPlanDetailResponse {
    @Schema(description = "总计划")
    private MasterPlanResponse masterPlan;
    @Schema(description = "物料")
    private List<PlanMaterialResponse> planMaterials;
    @Schema(description = "批次计划")
    private List<BatchPlanResponse> batchPlans;


    public MasterPlanDetailResponse() {
    }

    public MasterPlanDetailResponse(MasterPlanResponse masterPlan, List<BatchPlanResponse> batchPlans, List<PlanMaterialResponse> planMaterials) {
        this.masterPlan = masterPlan;
        this.batchPlans = batchPlans;
        this.planMaterials = planMaterials;
    }

    public MasterPlanResponse getMasterPlan() {
        return masterPlan;
    }

    public void setMasterPlan(MasterPlanResponse masterPlan) {
        this.masterPlan = masterPlan;
    }

    public List<PlanMaterialResponse> getPlanMaterials() {
        return planMaterials;
    }

    public void setPlanMaterials(List<PlanMaterialResponse> planMaterials) {
        this.planMaterials = planMaterials;
    }

    public List<BatchPlanResponse> getBatchPlans() {
        return batchPlans;
    }

    public void setBatchPlans(List<BatchPlanResponse> batchPlans) {
        this.batchPlans = batchPlans;
    }
}

